﻿package social.VKontakte
{	
	public class VKUserRequest extends VKAPIRequest
	{
		public var ID:String;		
		private var FFields:Vector.<String>;		
		
		public function VKUserRequest(AID:String):void
		{
			FFields = new Vector.<String>;
			ID = AID;
		}
		
		public function Add(AField:String):void
		{
			FFields.push(AField);
		}
		
		override public function toAPI():Object
		{
			var vResult:Object = new Object();
			vResult.uids = ID;
			vResult.fields = FFields.toString();
			return vResult;
		}
	}	
}
